#pragma once
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <iomanip>

enum class LogType {
	Console,
	File
};

void LogInit(LogType logtype, std::string format = "", std::string para = "log.txt");

void LogWrite(std::string level, std::string log, std::string file, int line);